package com.bwie.doctorclient.service;

import com.bwie.doctorclient.domain.dto.AddCommonlyDosageDTO;
import com.bwie.doctorclient.domain.dto.AddCommonlyPrescriptionDTO;
import com.bwie.doctorclient.domain.po.CommonlyDosagePO;
import com.bwie.doctorclient.domain.po.CommonlyPrescriptionPO;
import com.bwie.doctorclient.domain.vo.CommonlyPrescriptionVO;

import java.util.List;

public interface PrescriptionService {
    /**
     * 获取常用处方列表
     * @return
     */
    List<CommonlyPrescriptionVO> getCommonlyPrescription();

    /**
     * 删除常用处方
     * @param commonlyPrescriptionId
     * @return
     */
    void delCommonlyPrescription(Long commonlyPrescriptionId);

    /**
     * 新增常用方法
     * @return
     */
    void addCommonlyPrescription(AddCommonlyPrescriptionDTO addCommonlyPrescriptionDTO);

    /**
     * 删除常用处方中药品用法用量
     * @param commonlyDosageId
     * @return
     */
    void delCommonlyDosage(Long commonlyDosageId);

    /**
     * 编辑常用药品用法用量
     * @param commonlyDosagePO
     * @return
     */
    void updCommonlyDosage(CommonlyDosagePO commonlyDosagePO);

    /**
     * 新增常用处方药品
     * @param addCommonlyDosageDTO
     * @return
     */
    void addCommonlyDosage(AddCommonlyDosageDTO addCommonlyDosageDTO);

    /**
     * 编辑常用处方
     * @param commonlyPrescriptionPO
     * @return
     */
    void updateCommonlyPrescription(CommonlyPrescriptionPO commonlyPrescriptionPO);
}
